package com.woniuxy.feign;

import com.woniuxy.entity.AllShop;
import com.woniuxy.util.ResponseData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author hq
 * @Date 2025/7/14$ 15:02$
 * @Description TODO
 * @Params $
 * @Return $
 **/
@FeignClient(name = "campus-content")
public interface AllContentApi {
    /**
     * 根据id查询商品
     * @return
     */
    @GetMapping("/shop/findShopById/{id}")
    public AllShop getShopById(@PathVariable("id") Integer id);
}
